/*
 * Created on Feb 5, 2009
 *
 * TODO
 */
package jacky.lanlan.song.extension.vraptor2;

import org.vraptor.InterceptorStack;
import org.vraptor.interceptor.ComponentLookupInterceptor;
import org.vraptor.interceptor.SettingAndValidationInterceptor;

/**
 * 实现 {@code @RawOut}、{@code @ZipOut} 和 {@code @Json} 的功能。
 * 
 * @author Jacky.Song
 */
public class EnhanceInterceptor extends InterceptorStack {

	public EnhanceInterceptor() {
		/*
		 * 需要依赖 ComponentLookupInterceptor 提供 Component 实例，见 RawResponseInterceptorImpl 注释 需要依赖
		 * SettingAndValidationInterceptor 提供 方法参数，见 RawResponseInterceptorImpl 注释
		 */
		super(ComponentLookupInterceptor.class, SettingAndValidationInterceptor.class, JsonIntercepter.class,
				RawResponseInterceptor.class, ZipOutIntercepter.class);
	}
}
